package org.dromara.xhlj.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import org.dromara.starter.jpacomment.annotation.SailColumn;
import org.dromara.starter.jpacomment.annotation.SailIndex;
import org.dromara.starter.jpacomment.annotation.SailTable;
import org.dromara.starter.jpacomment.enums.IndexType;
/**
 * 大会信息对象 xhlj_conference_info
 *
 * @author yf
 * @date 2024-07-28
 */

@Data
@TableName("xhlj_conference_info")
@Entity
@Table(name = "xhlj_conference_info")
@SailTable(comment = "大会信息表", indexs = {})
public class XhljConferenceInfo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;
    public static final String TRANS_ID_TO_VO = "xhlj_conferenceInfo_vo";
    public static final String TRANS_ID_TO_VO_LIST = "xhlj_conferenceInfo_list";
    /**
     * 大会基本信息ID
     */
    @TableId(value = "conference_info_id", type = IdType.AUTO)
    @Id
    private Integer conferenceInfoId;
    /**
     * 大会名称
     */
    @Column(name = "conference_name")
    @SailColumn(comment = "大会名称",type = "varchar(100)", defaultValue = "NULL")
    private String conferenceName;
    /**
     * 创建人sys_user（大会管理员/活动负责人）
     */
    @SailColumn(comment = "创建人sys_user（大会管理员/活动负责人）",type = "int", defaultValue = "NULL")
    @Column(name = "create_by")
    private Integer createBy;
    /**
     * 大会简介
     */
    @Column(name = "conference_description_content")
    @SailColumn(comment = "大会简介",type = "text", defaultValue = "NULL")
    private String conferenceDescriptionContent;
    /**
     * 大会主题标签（0=网络安全，1=AI人工智能，2=大数据分析）
     */
    @Column(name = "conference_tags")
    @SailColumn(comment = "大会主题标签（0=网络安全，1=AI人工智能，2=大数据分析）",type = "char(3)", defaultValue = "NULL")
    private String conferenceTags;
    /**
     * 大会年份
     */
    @Column(name = "conference_year")
    @SailColumn(comment = "大会年份",type = "int", defaultValue = "NULL")
    private Integer conferenceYear;
    /**
     * 大会轮播图
     */
    @Column(name = "conference_banner_image")
    @SailColumn(comment = "大会轮播图",type = "text", defaultValue = "NULL")
    private String conferenceBannerImage;
    /**
     * 大会视频
     */
    @Column(name = "conference_video_file")
    @SailColumn(comment = "大会视频",type = "text", defaultValue = "NULL")
    private String conferenceVideoFile;
    /**
     * 视频描述
     */
    @Column(name = "video_description")
    @SailColumn(comment = "视频描述",type = "varchar(255)", defaultValue = "NULL")
    private String videoDescription;
    /**
     * 酒店住宿
     */
    @Column(name = "hotel_image")
    @SailColumn(comment = "酒店住宿",type = "text", defaultValue = "NULL")
    private String hotelImage;
    /**
     * 大会场馆
     */
    @Column(name = "venue_image")
    @SailColumn(comment = "大会场馆",type = "text", defaultValue = "NULL")
    private String venueImage;
    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    @Column(name = "create_time")
    @SailColumn(comment = "创建时间",type = "timestamp", defaultValue = "CURRENT_TIMESTAMP")
    private Date createTime;
    /**
     * 删除标志 (0=未删除, 2=已删除)
     */
    @TableLogic
    @TableField(fill = FieldFill.INSERT)
    @Column(name = "del_flag")
    @SailColumn(comment = "删除标志 (0=未删除, 2=已删除)",type = "char(1)", defaultValue = "0")
    private String delFlag;
}
